package calbs.socket.jms.queue;/**
 * Created by zhangqin on 2017/8/21.
 */

import org.apache.activemq.command.ActiveMQQueue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import javax.jms.Queue;

/**
 * 队列定义
 *
 * @author
 * @create 2017-08-21 17:21
 **/
@Configuration
public class QueueConfig {
    @Bean(name="zdjsLocationQueue")
    public Queue traceQueue() {
        return new ActiveMQQueue(QueueName.TRACK_QUEUE);
    }
}
